package com.base.vistter.iframe.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(value = "iframe")
public class IframeProperties {

    @Value("${iframe.setting.captcha-type}")
    private Integer captchaType;

    @Value("${iframe.setting.signature-secret}")
    private String signatureSecret;

    @Value("${iframe.setting.timeout}")
    private Integer timeout;

    @Value("${iframe.setting.token-time}")
    private Integer tokenTime;

    @Value("${iframe.setting.key}")
    private String key;

}
